﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace SaleSoft.Models.BaseClient {
    public class ds_hinhanh {
        #region Factors
        public ds_hinhanh () {
            sothutu = 0;   
        }
        #endregion

        #region Primitive Properties
        public int id_hinhanh { get; set; }

        [MaxLength(256, ErrorMessage = "Tên Ablum không được dài hơn 256 ký tự")]
        public string tenhinh { get; set; }

        public DateTime? ngaycapnhat { get; set; }

        [Required]
        public int sothutu { get; set; }

        [Required]
        public int id_ablum { get; set; }
        #endregion
    }
}